package com.hand.hap.demo.job;

import com.hand.hap.job.AbstractJob;
import org.quartz.JobDetail;
import org.quartz.JobExecutionContext;
import org.quartz.JobKey;
import org.quartz.TriggerKey;

/**
 * Created by wang on 2018/8/7.
 */
public class MyJob extends AbstractJob {

    @Override
    public void safeExecute(JobExecutionContext jobExecutionContext) throws Exception {

        JobDetail jobDetail = jobExecutionContext.getJobDetail();
        JobKey jobKey = jobDetail.getKey();
        TriggerKey triggerKey = jobExecutionContext.getTrigger().getKey();
        System.out.println("王帅 + 17802");
    }
}
